Static Private Attributes |
| string | __tablename__ = 'bench_press_workouts' |
| dictionary | __mapper_args__ = {'polymorphic_identity': ChallengeType.lookup_data.index('bench_press') + 1} |
Additional Inherited Members |
| tuple | repetitions = Column(SmallInteger(unsigned=True), nullable=False) |
| tuple | id = Column(Integer(unsigned=True), primary_key=True) |
| tuple | user_id = Column(Integer(unsigned=True), ForeignKey('users.id'), nullable=False) |
| tuple | challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id'), nullable=False) |
| tuple | challenge_type_id |
| tuple | points = Column(SmallInteger(unsigned=True), nullable=False) |
| tuple | created_at = Column(DateTime, nullable=False, default=current_timestamp) |
| tuple | user |
| tuple | challenge |
Detailed Description
Definition at line 150 of file workout.py.
Constructor & Destructor Documentation
| def wowf.models.workout.BenchPressWorkout.__init__ |
( |
|
self, |
|
|
|
user, |
|
|
|
challenge, |
|
|
|
repetitions |
|
) |
| |
Member Data Documentation
| dictionary wowf.models.workout.BenchPressWorkout.__mapper_args__ = {'polymorphic_identity': ChallengeType.lookup_data.index('bench_press') + 1} |
|
staticprivate |
| string wowf.models.workout.BenchPressWorkout.__tablename__ = 'bench_press_workouts' |
|
staticprivate |
| wowf.models.workout.BenchPressWorkout.challenge |
| wowf.models.workout.BenchPressWorkout.points |
| wowf.models.workout.BenchPressWorkout.repetitions |
| wowf.models.workout.BenchPressWorkout.user |
The documentation for this class was generated from the following file: